package cn.ix.spring.security.service;

import cn.ix.spring.security.dto.AccountDTO;
import cn.ix.spring.security.entity.Account;

/**
 * @author lzw
 * @description AccountService
 * @date 2022/3/1
 */
public interface AccountService {

    /**
     * 登录
     * @param account
     * @return
     */
    AccountDTO login(Account account);


    /**
     * 刷新Token
     * @param account
     * @return
     */
    AccountDTO refreshToken(AccountDTO account);
}
